package com.roc.pojo;

import java.io.Serializable;
import java.util.Date;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;


@Entity
@Table(name = "t_message_send")
public class MessageSend  implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "messageSendSeq")
	@SequenceGenerator(name = "messageSendSeq", sequenceName = "T_MESSAGE_SEND_SEQ",allocationSize=1)
	private long id;
	@Column(name = "phone_number")
	  private String phoneNumber; //手机号
	
	@Column(name = "mes_content")
	  private String mesContent; //短信内容
	
	@Column(name = "send_flag")
	  private String sendFlag; //发送状态 1已发送 0未发送
	
	@Column(name = "DT_CREATE")
	  private Date dtCreate; //创建时间
	
	@Column(name = "DT_LASTMOD")
	  private Date dtLastmod; //发送时间
	
	@Column(name="TIMES")
	private int times;//发送次数
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	public String getMesContent() {
		return mesContent;
	}
	public void setMesContent(String mesContent) {
		this.mesContent = mesContent;
	}
	public String getSendFlag() {
		return sendFlag;
	}
	public void setSendFlag(String sendFlag) {
		this.sendFlag = sendFlag;
	}
	public Date getDtCreate() {
		return dtCreate;
	}
	public void setDtCreate(Date dtCreate) {
		this.dtCreate = dtCreate;
	}
	public Date getDtLastmod() {
		return dtLastmod;
	}
	public void setDtLastmod(Date dtLastmod) {
		this.dtLastmod = dtLastmod;
	}
	public int getTimes() {
		return times;
	}
	public void setTimes(int times) {
		this.times = times;
	}
	
	
}
